package com.woniuxy.light_smart.service.imp;

import com.woniuxy.light_smart.entity.Troops;
import com.woniuxy.light_smart.mapper.TroopsMapper;
import com.woniuxy.light_smart.service.TroopsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TroopsServiceImpl implements TroopsService {
    @Autowired
    private TroopsMapper troopsMapper;
    @Override
    public List<Troops> selectAll() {
        return troopsMapper.selectAll();
    }
}
